﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace PlateNumber {
    public partial class PppPropertyForm : Form {
        public PppPropertyForm() {
            InitializeComponent();
        }

        public PPP PPP { get; set; }

        private void PppPropertyForm_Load(object sender, EventArgs e) {
            txtEntryName.Text = PPP.EntryName;
            txtUserName.Text = PPP.UserName;
            txtPassword.Text = PPP.Password;
            txtPhoneNumber.Text = PPP.PhoneNumber;
        }

        private void btnOK_Click(object sender, EventArgs e) {
            PPP.EntryName = txtEntryName.Text.Trim();
            PPP.UserName = txtUserName.Text.Trim();
            PPP.Password = txtPassword.Text.Trim();
            PPP.PhoneNumber = txtPhoneNumber.Text.Trim();
        }
    }
}
